<template>
    <div>
        <el-container>
          <el-header height="60px"><layout-header /></el-header>
          <el-container>
            <el-aside width="256px"><layout-aside /></el-aside>
            <el-container>
              <el-main><layout-main/></el-main>
            </el-container>
          </el-container>
        </el-container>
    </div>
</template>
<script>
/*import Header from '@pages/header'
import Aside from '@pages/aside'
import Main from '@pages/main'*/
import HelloWorld from '@/components/HelloWorld'
import Header from '@/pages/header'
import Aside from '@/pages/aside'
import Main from '@/pages/main'
    export default {
        name: 'App',
        data () {
          return {

          }
        },
      components:{
        HelloWorld,
        'layout-header':Header,
        'layout-main':Main,
        'layout-aside':Aside
        }
    }
</script>
<style scoped>
  .el-header, .el-footer {
    background-color: #002140 !important;
    color: #fff;
    text-align: center;
    position: fixed;
    top: 0px;
    width: 100%;
    padding: 0px;
  }
  .el-header {
    line-height: 60px;
  }

  .el-aside {
    background-color: #001529;
    color: #fff;
    text-align: left;
    height: 100%;
    position: fixed;
    top: 60px;
  }

  .el-main {
    color: #333;
    line-height: 100%;
    margin-top:60px;
    margin-left: 256px;
  }

  body > .el-container {
    margin-bottom: 40px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
  
</style>
